package com.biz.primus.model.cart.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

import static com.google.common.collect.Lists.newArrayList;

/**
 * 购物车vo
 *
 * @author lei
 * @date 2017/01/13
 */
@Getter
@Setter
@ApiModel("购物车信息对象VO")
public class ShopCartRespVo implements Serializable {

    private static final long serialVersionUID = 467965043298168743L;
    /**
     * 购物车商品组
     */
    @ApiModelProperty("购物车商品组")
    private List<ShopCartBundleVo> bundles = newArrayList();

    /**
     * 购物车总数
     */
    @ApiModelProperty("购物车总数")
    private int cartNum = 0;

    /**
     * 选中数量
     */
    @ApiModelProperty("选中数量")
    private int selectedNum = 0;

    /**
     * 购物车待支付金额
     */
    @ApiModelProperty("购物车待支付金额")
    private int totalPrice = 0;

}
